package epam.car.rent.exceptions;

public class CarException extends Exception {
	
	private static final long serialVersionUID = -6584559016601260347L;
	
	String error;
	
	public CarException(String message) {
		super("Car exception: " + message);
		error = "Car exception\t" + message;
		ExceptionLogger.log.warn(error);
	}
}
